package com.atguigu.gulimall.auth.service.impl;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.auth.service.LoginService;
import com.atguigu.gulimall.auth.vo.MemberEntity;
import com.atguigu.gulimall.auth.vo.RegVo;
import com.atguigu.gulimall.auth.feign.MemberServiceFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: jianPing
 * @date: 2022/3/31 17:19
 * @description:
 */
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    MemberServiceFeign memberServiceFeign;

    @Override
    public R register(RegVo regVo) {
        R r = memberServiceFeign.memberRegister(regVo);
        return r;
    }
}
